using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Product
/// </summary>
public class Product
{
    private int id;

    public int Id
    {
        get { return id; }
        set { id = value; }
    }
    private string hangSanXuat;

    public string HangSanXuat
    {
        get { return hangSanXuat; }
        set { hangSanXuat = value; }
    }
    private string xuatXu;

    public string XuatXu
    {
        get { return xuatXu; }
        set { xuatXu = value; }
    }
    private string model;

    public string Model
    {
        get { return model; }
        set { model = value; }
    }
    private string tinhTrang;

    public string TinhTrang
    {
        get { return tinhTrang; }
        set { tinhTrang = value; }
    }
    private string hopSo;

    public string HopSo
    {
        get { return hopSo; }
        set { hopSo = value; }
    }
    private string chungLoaiXe;

    public string ChungLoaiXe
    {
        get { return chungLoaiXe; }
        set { chungLoaiXe = value; }
    }
    private int nam;

    public int Nam
    {
        get { return nam; }
        set { nam = value; }
    }
    private string kichThuoc;

    public string KichThuoc
    {
        get { return kichThuoc; }
        set { kichThuoc = value; }
    }
    private string chieuDai;

    public string ChieuDai
    {
        get { return chieuDai; }
        set { chieuDai = value; }
    }
    private string tuTrong;

    public string TuTrong
    {
        get { return tuTrong; }
        set { tuTrong = value; }
    }
    private string tongTrongLuong;

    public string TongTrongLuong
    {
        get { return tongTrongLuong; }
        set { tongTrongLuong = value; }
    }
    private string xilanh;

    public string Xilanh
    {
        get { return xilanh; }
        set { xilanh = value; }
    }
    private string congSuat;

    public string CongSuat
    {
        get { return congSuat; }
        set { congSuat = value; }
    }
    private string momen;

    public string Momen
    {
        get { return momen; }
        set { momen = value; }
    }
    private string nhienLieu;

    public string NhienLieu
    {
        get { return nhienLieu; }
        set { nhienLieu = value; }
    }
    private string tieuHaoNL;

    public string TieuHaoNL
    {
        get { return tieuHaoNL; }
        set { tieuHaoNL = value; }
    }
    private int dungTichNL;

    public int DungTichNL
    {
        get { return dungTichNL; }
        set { dungTichNL = value; }
    }
    private int soCua;

    public int SoCua
    {
        get { return soCua; }
        set { soCua = value; }
    }
    private int soGhe;

    public int SoGhe
    {
        get { return soGhe; }
        set { soGhe = value; }
    }
    private string coLopTruoc;

    public string CoLopTruoc
    {
        get { return coLopTruoc; }
        set { coLopTruoc = value; }
    }
    private string coLopSau;

    public string CoLopSau
    {
        get { return coLopSau; }
        set { coLopSau = value; }
    }
    private string image1;

    public string Image1
    {
        get { return image1; }
        set { image1 = value; }
    }

    private string image2 = null;

    public string Image2
    {
        get { return image2; }
        set { image2 = value; }
    }
    
    private string image3 = null;

    public string Image3
    {
        get { return image3; }
        set { image3 = value; }
    }
    private string image4 = null;

    public string Image4
    {
        get { return image4; }
        set { image4 = value; }
    }
    private string image5 = null;

    public string Image5
    {
        get { return image5; }
        set { image5 = value; }
    }
    private string trangThietBi;

    public string TrangThietBi
    {
        get { return trangThietBi; }
        set { trangThietBi = value; }
    }

    public Product()
    { }
    public Product(int _id, string _hangSanXuat, string _xuatXu, string _model, string _tinhTrang, string _hopSo, string _chungLoaiXe, int _nam, string _kichThuoc,
        string _chieuDai, string _tuTrong, string _tongTrongLuong, string _xilanh, string _momen, string _nhienLieu, string _tieuHaoNL, int _dungTichNL, int _soCua,
        int _soGhe, string _coLopTruoc, string _coLopSau, string _image1, string _image2, string _image3, string _image4, string _image5, string _trangThietBi)
	{
        _id = id;
        _hangSanXuat = hangSanXuat;
        _xuatXu = xuatXu;
        _model = model;
        _tinhTrang = tinhTrang;
        _hopSo = hopSo;
        _chungLoaiXe = chungLoaiXe;
        _nam = nam;
        _kichThuoc = kichThuoc;
        _chieuDai = chieuDai;
        _tuTrong = tuTrong;
        _tongTrongLuong = tongTrongLuong;
        _xilanh = xilanh;
        _momen = momen;
        _nhienLieu = nhienLieu;
        _tieuHaoNL = tieuHaoNL;
        _dungTichNL = dungTichNL;
        _soCua = soCua;
        _soGhe = soGhe;
        _coLopTruoc = coLopTruoc;
        _coLopSau = coLopSau;
        _image1 = image1;
        _image2 = image2;
        _image3 = image3;
        _image4 = image4;
        _image5 = image5;
        _trangThietBi = trangThietBi;
	}
}
